package com.onlineOrder.bean;

import java.util.Objects;

/**
 * 订单列表类
 */
public class indentList {
   private String  num;
   private String  menus;
   private String  amount;
   private String  state;
   private String  userName;
   private String  userId;
   private String  phone;
   private String  shopId;
   private String  shopName;
   private String  time;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    private String address="";

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getMenus() {
        return menus;
    }

    public void setMenus(String menus) {
        this.menus = menus;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        indentList that = (indentList) o;
        return Objects.equals(num, that.num) && Objects.equals(menus, that.menus) && Objects.equals(amount, that.amount) && Objects.equals(state, that.state) && Objects.equals(userName, that.userName) && Objects.equals(userId, that.userId) && Objects.equals(phone, that.phone) && Objects.equals(shopId, that.shopId) && Objects.equals(shopName, that.shopName) && Objects.equals(time, that.time);
    }

    @Override
    public int hashCode() {
        return Objects.hash(num, menus, amount, state, userName, userId, phone, shopId, shopName, time);
    }

    @Override
    public String toString() {
        return "indentList{" +
                "num='" + num + '\'' +
                ", menus='" + menus + '\'' +
                ", amount='" + amount + '\'' +
                ", state='" + state + '\'' +
                ", userName='" + userName + '\'' +
                ", userId='" + userId + '\'' +
                ", phone='" + phone + '\'' +
                ", shopId='" + shopId + '\'' +
                ", shopName='" + shopName + '\'' +
                ", time='" + time + '\'' +
                '}';
    }
}
